package com.hdoit.apollo.logical.inventory.model;


import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Entity;

import com.hdoit.apollo.logical.cargo.model.Cargo;
import com.tennetcn.data.message.ModelBase;
/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年04月10日 11:24:52
 * @comment
 */
@Entity
@Table(name="stock_inventory_show")
public class InventoryShow extends ModelBase{
    /**
     *Id
     */
    @Id
    @Column(name="showId")
    private String showId;

    /**
     *盘点数
     */
    @Column(name="inventoryNum")
    private Integer inventoryNum;
    
    //人员盘点Id
    @Column(name="inventoryStaffId")
    private String inventoryStaffId;

    /**
     *货物Id
     */
    @Column(name="cargoId")
    private String cargoId;

    /**
     *出库Id
     */
    @Column(name="inventoryId")
    private String inventoryId;

    /**
     *盘盈数
     */
    @Column(name="overageNumShow")
    private Double overageNumShow;

    /**
     *盘亏数
     */
    @Column(name="lossNumShow")
    private Double lossNumShow;

    /**
     *实际数
     */
    @Column(name="actualNumShow")
    private Double actualNumShow;

    /**
     *账面数
     */
    @Column(name="bookNumShow")
    private Double bookNumShow;

    /**
     *门店id
     */
    @Column(name="shopId")
    private String shopId;

    /**
     *创建时间
     */
    @Column(name="createDate")
    private Date createDate;

    /**
     *创建人id
     */
    @Column(name="createUserId")
    private String createUserId;

    /**
     *创建人名称
     */
    @Column(name="createUserName")
    private String createUserName;

    /**
     *修改时间
     */
    @Column(name="modifyDate")
    private Date modifyDate;

    /**
     *修改人id
     */
    @Column(name="modifyUserId")
    private String modifyUserId;

    /**
     *修改人名称
     */
    @Column(name="modifyUserName")
    private String modifyUserName;

    /**
     *删除标记
     */
    @Column(name="deleteMark")
    private Integer deleteMark;

    /**
     *备注
     */
    @Column(name="comment")
    private String comment;
    
    @Transient
    private List<InventoryCollocation> inventoryCollocations;
    
    @Transient
    private Cargo cargo;
    
    //ionic 标记字段
    @Transient
    private boolean showTable;

    public String getInventoryStaffId() {
		return inventoryStaffId;
	}
	public void setInventoryStaffId(String inventoryStaffId) {
		this.inventoryStaffId = inventoryStaffId;
	}
	public List<InventoryCollocation> getInventoryCollocations() {
		return inventoryCollocations;
	}
	public void setInventoryCollocations(List<InventoryCollocation> inventoryCollocations) {
		this.inventoryCollocations = inventoryCollocations;
	}
	public Cargo getCargo() {
		return cargo;
	}
	public void setCargo(Cargo cargo) {
		this.cargo = cargo;
	}
	public boolean isShowTable() {
		return showTable;
	}
	public void setShowTable(boolean showTable) {
		this.showTable = showTable;
	}
	public String getShowId(){
        return this.showId;
    }
    public void setShowId(String showId){
         this.showId=showId;
    }

    public Integer getInventoryNum(){
        return this.inventoryNum;
    }
    public void setInventoryNum(Integer inventoryNum){
         this.inventoryNum=inventoryNum;
    }

    public String getCargoId(){
        return this.cargoId;
    }
    public void setCargoId(String cargoId){
         this.cargoId=cargoId;
    }

    public String getInventoryId(){
        return this.inventoryId;
    }
    public void setInventoryId(String inventoryId){
         this.inventoryId=inventoryId;
    }

    public Double getOverageNumShow(){
        return this.overageNumShow;
    }
    public void setOverageNumShow(Double overageNumShow){
         this.overageNumShow=overageNumShow;
    }

    public Double getLossNumShow(){
        return this.lossNumShow;
    }
    public void setLossNumShow(Double lossNumShow){
         this.lossNumShow=lossNumShow;
    }

    public Double getActualNumShow(){
        return this.actualNumShow;
    }
    public void setActualNumShow(Double actualNumShow){
         this.actualNumShow=actualNumShow;
    }

    public Double getBookNumShow(){
        return this.bookNumShow;
    }
    public void setBookNumShow(Double bookNumShow){
         this.bookNumShow=bookNumShow;
    }

    public String getShopId(){
        return this.shopId;
    }
    public void setShopId(String shopId){
         this.shopId=shopId;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }

    public Integer getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(Integer deleteMark){
         this.deleteMark=deleteMark;
    }

    public String getComment(){
        return this.comment;
    }
    public void setComment(String comment){
         this.comment=comment;
    }

}